using System;
using System.Web.UI;
using DemoPress.BlogServices;
using DemoPress.Web;

namespace DemoPress.Web.Bricks
{
    /// <summary>
    /// A very simple control used to display the name of the Blog
    /// </summary>
    public class BlogNameControl: WebDemoControl
    {
        protected override void Render(HtmlTextWriter writer)
        {
            writer.Write(BlogService.Blog.Name);
        }
    }
}
